Query(Type[])

Method

Namespace: Ignis

Declared in: Ignis.IEntityManager


Queries entity IDs that have the specified components. If you care about performance and memory allocation, consider using Query(Span<int>, ReadOnlySpan<Type>) and other overloads with Span, or GetView(Type[]) .

Syntax

public IEnumerable<int> Query(
	Type[] componentTypes
)

Parameters

componentTypes

Component types to check


Back to index